class Engine < Application
  def index
    #provides :atom
    only_provides :html
    @title = "Petrinet Process Engine"
    @petrinets = PNEngine::Petrinet.find(:all)
    render :status => 200
  end
  
  def benchmark
    #stamps = @petrinet.transitions.collect do |t|
    #  $TIMESTAMPS[t.id]
    #end.flatten.compact.sort
    #$TIMESTAMPS.each
    #p ((stamps.last) - (stamps.first))
    #return ((stamps.last) - (stamps.first)).to_s
    render :status => 200
  end
end